<?php

namespace app\api\model;
use think\admin\Model;
class DataUnilateralism extends Model
{
    public static function getDetail(string $field = '', $where = []): array
    {
       return self::mk()->where($where)->field($field)->find()->toArray();
    }

    public static function getLists(string $field = '', $where = []): array
    {
       return self::mk()->where($where)->field($field)->select()->toArray();
    }
}
